Move the call to correct_total() to the right spot. (#72732)
authorMatthias Clasen <matthiasc@src.gnome.org>
Thu, 28 Feb 2002 18:47:38 +0000 (18:47 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 28 Feb 2002 18:47:38 +0000 (18:47 +0000)
* pixops/pixops.c (tile_make_weights): Move the call to
correct_total() to the right spot. (#72732)

gdk-pixbuf/ChangeLog
gdk-pixbuf/pixops/pixops.c

index c4783fdd871be8dec3750b70a76e9c565c391901..cd5f8821b59c2323bbcb2c3c9e2e46641f979307 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-28  Matthias Clasen  <maclas@gmx.de>
+
+       * pixops/pixops.c (tile_make_weights): Move the call to
+       correct_total() to the right spot. (#72732)
+
 Wed Feb 27 18:33:04 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gdk-pixdata.c (gdk_pixdata_to_csource): Use {} not
index a84de8525731368846e3c37cf2a9506161a79462..593895edd31bd59cf074a84b43cfaf4bf446681a 100644 (file)
@@ -1162,9 +1162,9 @@ tile_make_weights (PixopsFilter *filter, double x_scale, double y_scale, double
                total += weight;
                *(pixel_weights + n_x * i + j) = weight;
              }
-           
-           correct_total (pixel_weights, n_x, n_y, total, overall_alpha);
          }
+       
+       correct_total (pixel_weights, n_x, n_y, total, overall_alpha);
       }
 }